/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Behavioral.Strategy;

/**
 *
 * @author usuario
 */
public class DescubrirVideo {
    public Video buscarVideo(Persona persona,String titulo){
        EstrategiaVideos videos = null;
        if(persona instanceof Socio){
            videos = new VideoBueno();
        } else {
            videos = new VideoRegular();
        }
        return videos.BuscarVideo(titulo);
    }
}
